﻿using HelperFromTheSkeleton.Model.DomainModels;
using System.ComponentModel.DataAnnotations;

namespace Authority.Doamin
{
    /// <summary>
    /// 权限模组
    /// </summary>
    public class AuthorityModule : BaseDomain
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Required, MaxLength(100)]
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 账号
        /// </summary>
        [Required, MaxLength(100)]
        public string Code { get; set; } = string.Empty;
    }
}